package com.rzjm.exercise.module.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rzjm.exercise.common.utils.Excel;
import com.rzjm.exercise.common.utils.ExcelColumn;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 *
 */
@Data
@TableName("ck_terminals_check_record")
public class TerminalCleanRecord implements Serializable {

	//主键
	@TableId(type = IdType.AUTO)
	private Integer id;
	private Integer terminalId;
	private Integer isClean;
	private Integer wxUserId;
	private Integer shopId;
	private Integer checkState;
	private Integer isDel;

	@ExcelColumn(value = "巡检中心",col = 1)
	@TableField(exist = false)
	private String shopName;

	@ExcelColumn(value = "设备名称",col = 2)
	@TableField(exist = false)
	private String terminalName;

	@ExcelColumn(value = "设备编号",col = 3)
	@TableField(exist = false)
	private String terminalNum;

	@ExcelColumn(value = "清理人",col = 4)
	@TableField(exist = false)
	private String userName;

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	@ExcelColumn(value = "清理时间",col = 5)
	@TableField(exist = false)
	private String createTimeStr;

	@ExcelColumn(value = "清理周期",col = 6)
	@TableField(exist = false)
	private String checkCycle;

	@ExcelColumn(value = "状态",col = 7)
	@TableField(exist = false)
	private String checkStateTxt;

	@ExcelColumn(value = "情况说明",col = 8)
	private String checkResult;


	@TableField(exist = false)
	private List<String> imgsList;


}
